package com.laf.mall.api.service;

import com.laf.mall.api.dto.PointsDeduction;

import java.util.List;

/**
 * @author ygl
 * @create 2019-01-02
 * @DESCRIPTION
 **/
public interface PointsDeductionService {

    /**
     * 新增数据
     * @param model
     * @return
     */
    int insert(PointsDeduction model);

    List<PointsDeduction> findByOffsetNumber(String offsetNumber);

    int updateStatus(PointsDeduction deduction);

    List<PointsDeduction> findByMemberId(Integer memberId);
}
